using System;

public class Squares {

    public static void WriteSquares(){

        int i=0;
        int j;
        while(i < 10) {
            j = i * i;
            Console.WriteLine($"{i} X {i} = {j}");
            i++;
        }
    }
}